Skip to content

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public int RemoveMany(Func<ReactiveList<T>, bool> predicate)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IReactiveList<ReactiveList<T>>. The member doesn't override them on this type.

Summary: Removes all elements that match the specified predicate from the collection.

Parameters

NameTypeDescription
predicateFunc, bool> (opens in a new tab)A function that returns true for elements that should be removed.

Returns: int (opens in a new tab) -- The number of elements removed from the collection.

Remarks

This method provides an efficient way to remove multiple items based on a condition without having to enumerate the collection separately.